(["| Component | CVE Count | CVEs |",
  "| --------- | --------- | ---- |"] +
[[.products[], .packages[]] | 
  group_by(.name) |
  map({name: .[0].name, count: length, cves: map(.cve_id) | unique}) |
  sort_by(.count) | reverse |
  .[] | "| \(.name) | \(.count) | \(.cves | join(", ")) |"]) |
.[]
